package com.stedu.mall.adminService.mapper;

import com.stedu.mall.common.bean.Admin;

import java.util.List;

public interface AdminMapper {
    Admin selectByUsername(String username);

    List<Admin> selectAll(Integer status);

    Integer insert(Admin admin);
    Integer delete(Integer id);

    Integer update(Admin admin);

    Admin selectById(Integer id);
}
